package com.woniuxy01;

/**
 * @author 作者
 * @create 2025-05-29 9:32
 */
public class MyUtil {

    public void test(){
        System.out.println("02-MyUtil-test");
    }

    public String arrayToString(int[] arr) {
        String str = "[";
        for (int i = 0; i < arr.length; i++) {
            str += arr[i] ;
            if (i != arr.length - 1) {
                str += ",";
            }
        }
        //str=str+"]";
        str += "]";
        return str;
    }
}
